repo: new function ostree_repo_prune_static_deltas
authorGiuseppe Scrivano <gscrivan@redhat.com>
Tue, 15 Dec 2015 09:32:25 +0000 (10:32 +0100)
committerGiuseppe Scrivano <gscrivan@redhat.com>
Fri, 18 Dec 2015 10:21:57 +0000 (11:21 +0100)
commit6b1e495a7aac2527f91208274867df52d5ca935f
tree6ac8cb06c17c590149e41b20996e080566d14bc0
parent460a4b2852538a75450efc394d4bfe9d625a7e80
repo: new function ostree_repo_prune_static_deltas

Extract existing code from ostree_repo_prune and add an argument COMMIT,
that controls which commit purge.  If not set, the old behavior is kept.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
src/libostree/ostree-repo-prune.c
src/libostree/ostree-repo.h